<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			
			var id=/^3506[0-9]{2}(19|20)[0-9]{2}(0[1-9]|10|11|12)([1-2]{1}[0-9]{1}|3[0-1]{1})[0-9]{3}([0-9]|x)$/;
			//function a(){
			console.log(id.test("350699199709214312"));
			//}
			
			var phone=/^1(3|5|7|4|8)[0-9]{9}$/;
			console.log(phone.test("13142323232"));
			
			var emain=/^[1-9]([0-9]{9}|[0-9]{8})[@]q{2}[.]com$/;
			console.log(emain.test("570129858@qq.com"))
		</script>
	</head>
	<body>
		
	</body>
</html>
